package com.logistica.metropolitana.web.controllers;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.logistica.metropolitana.common.web.BaseController;
/**
 * 
 * @author joao
 *
 */
@Controller
public class HomeController extends BaseController{

	private final Logger logger = LoggerFactory.getLogger(HomeController.class);

	@RequestMapping(value = "home", method = RequestMethod.GET)
	public String goHome(Model model) {
		logger.info("Dentro del Home de la App");
		return "home";
	}
}
